package org.xiji.ChainOfResponsibility;

/**
 * 导员
 */
public class Instructor extends Handler{
    @Override
    public void handle(int day) {
        if (day <= 7) {
            System.out.println("导员批注请假"+day+"天");
        } else {
            nextHandler.handle(day);
        }
    }
}
